package com.fsai.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fsai.cms.base.BaseEntity;

/**
 * 关于我们对象 page_about_us
 * 
 * @author jaffe
 * @date 2021-03-11
 */
public class PageAboutUs extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	private Integer pauId;

	/** 主要职责 */
	private String mainDuty;

	/** 联系方式 */
	private String contactInfo;

	/** 所属处室 */
	private Long orgId;

	/** 启用状态（0启用 1关闭） */
	private String status;

	/** 机构对象 */
	private BaseOrg baseOrg;

	public BaseOrg getBaseOrg() {
		if (baseOrg == null) {
			baseOrg = new BaseOrg();
		}
		return baseOrg;
	}

	public void setBaseOrg(BaseOrg baseOrg) {
		this.baseOrg = baseOrg;
	}

	public void setPauId(Integer pauId) {
		this.pauId = pauId;
	}

	public Integer getPauId() {
		return pauId;
	}

	public void setMainDuty(String mainDuty) {
		this.mainDuty = mainDuty;
	}

	public String getMainDuty() {
		return mainDuty;
	}

	public void setContactInfo(String contactInfo) {
		this.contactInfo = contactInfo;
	}

	public String getContactInfo() {
		return contactInfo;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public Long getOrgId() {
		return orgId;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("pauId", getPauId())
				.append("mainDuty", getMainDuty()).append("contactInfo", getContactInfo()).append("orgId", getOrgId())
				.append("status", getStatus()).append("createBy", getCreateBy()).append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark())
				.toString();
	}
}
